<template>
  <v-app-bar :elevation="2">
    <v-app-bar-nav-icon @click="appStore.toggleDrawer()"></v-app-bar-nav-icon>
    <v-app-bar-title>Application</v-app-bar-title>
    <v-spacer></v-spacer>
    <template v-slot:append>
      <v-switch
        v-model="appStore.order"
        false-value="0"
        hide-details
        inset
        label="Toggle order"
        true-value="-1"
      ></v-switch>
    </template>
    <v-btn icon="mdi-dots-vertical">
    </v-btn>
  </v-app-bar>
</template>
<script lang="ts" setup>
import {useAppStore} from "@/stores/app";

const appStore = useAppStore();
</script>
<style scoped>

</style>
